package com.neuedu.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhangsan
 * @since 2024-06-17
 */
@TableName("t_record")
public class TRecord implements Serializable {

    private static final long serialVersionUID = 1L;


    @TableId(value = "record_id", type = IdType.AUTO)
    private Long recordId;

    private String recordNumber;

    private String typeofrecord;

    private LocalDateTime recordTime;

    private String recordContents;

    private Long elderId;
    private Integer recordState;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;

    public Long getRecordId() {
        return recordId;
    }

    public void setRecordId(Long recordId) {
        this.recordId = recordId;
    }
    public String getRecordNumber() {
        return recordNumber;
    }

    public void setRecordNumber(Integer recordNumber) {
        this.recordNumber = String.valueOf(recordNumber);
    }
    public String getTypeofrecord() {
        return typeofrecord;
    }

    public void setTypeofrecord(String typeofrecord) {
        this.typeofrecord = typeofrecord;
    }
    public LocalDateTime getRecordTime() {
        return recordTime;
    }

    public void setRecordTime(LocalDateTime recordTime) {
        this.recordTime = recordTime;
    }
    public String getRecordContents() {
        return recordContents;
    }

    public void setRecordContents(String recordContents) {
        this.recordContents = recordContents;
    }
    public Long getUserNumber() {
        return elderId;
    }

    public void setUserNumber(Long elderId) {
        this.elderId = elderId;
    }
    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }
    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getRecordState() {
        return recordState;
    }

    public void setRecordState(Integer recordState) {
        this.recordState = recordState;
    }

    @Override
    public String toString() {
        return "TRecord{" +
                "recordId=" + recordId +
                ", recordNumber='" + recordNumber + '\'' +
                ", typeofrecord='" + typeofrecord + '\'' +
                ", recordTime=" + recordTime +
                ", recordContents='" + recordContents + '\'' +
                ", elderId=" + elderId +
                ", recordstate=" + recordState +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                '}';
    }

    public void setRecordNumber(String recordNumber) {
        this.recordNumber = recordNumber;
    }

    public Long getElderId() {
        return elderId;
    }

    public void setElderId(Long elderId) {
        this.elderId = elderId;
    }
}
